.header {
    height: 55px;
    width: 100%;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 1;

    ul,
    li {
        list-style-type: none;
        font-weight: bolder;
    }

    .menus-box {
        display: flex;
        align-items: center;

        ul {
            display: flex;
            position: relative;

            li {
                height: auto;
                padding: 0 30px;
            }

            a {
                font-size: 18px;
                color: #fff;
            }

            .silder {
                z-index: -1;
                border-bottom: 0.375rem solid #f8f8f7;
                position: absolute;
                bottom: -17px;
                left: 0;
                width: 96px;
                padding: 0;
            }
        }

        .login-box {
            a {
                display: flex;
            }

            .logout {
                width: 30px;
            }
        }
    }

    .subMenus-box {
        ul {
            position: fixed;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 20px;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            padding: 20px 0;
            background-color: #f7f7f7;
            z-index: 999;
            animation: showMobileNav 0.4s ease-out forwards;

            li {
                width: 100%;
                padding: 10px 0;
                text-align: center;

                &:hover {
                    background: rgba(255, 255, 255);
                }
            }

            li.active {
                background: rgba(255, 255, 255);
            }

            a {
                font-weight: bolder;
                color: #161b3d;
                font-size: 18px;
                display: flex;
                justify-content: center;
                align-items: center;
            }

            img {
                width: 30px;
                height: 30px;
                margin-right: 10px;
            }
        }

        // 导航开关
        .navbar-toggle {
            z-index: 1000;
            position: absolute;
            right: 30px;
            top: 5px;

            i {
                width: 24px;
                height: 2px;
                display: block;
                background-color: #fff;
                transition: all 0.3s ease-in-out;
                margin: 5px auto;
            }
        }

        .navbar-toggle.actived {
            transition: transform 0.3s ease-in-out;
            transform: rotate(45deg);

            i {
                background-color: #000;
            }

            i:first-child {
                transform: translateY(7px);
            }

            i:nth-child(2) {
                transform: rotate(90deg);
            }

            i:nth-child(3) {
                width: 0;
            }
        }
    }
}

@media (max-width: 800px) {
    .header {
        padding: 0 20px !important;
    }
}

@-moz-keyframes showMobileNav {
    from {
        opacity: 0;
        transform: translateX(70%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@-webkit-keyframes showMobileNav {
    from {
        opacity: 0;
        transform: translateX(70%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@-o-keyframes showMobileNav {
    from {
        opacity: 0;
        transform: translateX(70%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes showMobileNav {
    from {
        opacity: 0;
        transform: translateX(70%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}